package com.statics;

public class StaticTest {

    private static String string1 = getString();
    private static String string3 = "hello";
    private String string2 = getString();

    public static String getString() {
        System.out.println("getString() huhx");
        System.out.println("string1 " + string1);
        return "huhx";
    }

    public static void printString() {
        System.out.println("printString() " + string1 + ", " + new StaticTest().string2);
    }

    public static void printString2() {
        System.out.println("printString2()");
    }
}
